home *** CD-ROM | disk | FTP | other *** search
-
-
-
- RRRRLLLLEEEECCCCOOOOMMMMPPPP((((1111)))) 1111 ((((DDDDeeeecccceeeemmmmbbbbeeeerrrr 22220000,,,, 1111999988886666)))) RRRRLLLLEEEECCCCOOOOMMMMPPPP((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- rlecomp - Digital image compositor
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- rrrrlllleeeeccccoooommmmpppp [ ----oooo _o_u_t_f_i_l_e ] _A_f_i_l_e _o_p_e_r_a_t_o_r _B_f_i_l_e
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _r_l_e_c_o_m_p implements an image compositor based on presence of
- an alpha, or matte channel the image. This extra channel
- usually defines a mask which represents a sort of a cookie-
- cutter for the image. This is the case when alpha is 255
- (full coverage) for pixels inside the shape, zero outside,
- and between zero and 255 on the boundary. If _A_f_i_l_e or _B_f_i_l_e
- is just a single -, then _r_l_e_c_o_m_p reads that file from the
- standard input.
-
- The operations behave as follows (assuming the operation is
- "_A _o_p_e_r_a_t_o_r _B"):
-
- oooovvvveeeerrrr The result will be the union of the two image shapes,
- with _A obscuring _B in the region of overlap.
-
- iiiinnnn The result is simply the image _A cut by the shape of _B.
- None of the image data of _B will be in the result.
-
- aaaattttoooopppp The result is the same shape as image _B, with _A
- obscuring _B where the image shapes overlap. Note this
- differs from oooovvvveeeerrrr because the portion of _A outside _B's
- shape does not appear in the result.
-
- oooouuuutttt The result image is image _A with the shape of _B cut
- out.
-
- xxxxoooorrrr The result is the image data from both images that is
- outside the overlap region. The overlap region will be
- blank.
-
- pppplllluuuussss The result is just the sum of the image data. Output
- values are clipped to 255 (no overflow). This
- operation is actually independent of the alpha
- channels.
-
- mmmmiiiinnnnuuuussss
- The result of _A - _B, with underflow clipped to zero.
- The alpha channel is ignored (set to 255, full
- coverage).
-
- ddddiiiiffffffff The result of abs(_A - _B). This is useful for comparing
- two very similar images.
-
- aaaadddddddd The result of _A + _B, with overflow wrapping around (_m_o_d
- 256).
-
-
-
- Page 1 (printed 12/1/98)
-
-
-
-
-
-
- RRRRLLLLEEEECCCCOOOOMMMMPPPP((((1111)))) 1111 ((((DDDDeeeecccceeeemmmmbbbbeeeerrrr 22220000,,,, 1111999988886666)))) RRRRLLLLEEEECCCCOOOOMMMMPPPP((((1111))))
-
-
-
- ssssuuuubbbbttttrrrraaaacccctttt
- The result of _A - _B, with underflow wrapping around
- (_m_o_d 256). The aaaadddddddd and ssssuuuubbbbttttrrrraaaacccctttt operators can be used
- to perform reversible transformations.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- _u_r_t(1), _R_L_E(5),
- "Compositing Digital Images", Porter and Duff, _P_r_o_c_e_e_d_i_n_g_s
- _o_f _S_I_G_G_R_A_P_H '_8_4 p.255
-
- AAAAUUUUTTTTHHHHOOOORRRRSSSS
- Rod Bogart and John W. Peterson
-
- BBBBUUUUGGGGSSSS
- The other operations could be optimized as much as oooovvvveeeerrrr is.
-
- _R_l_e_c_o_m_p assumes both input files have the same number of
- channels.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 12/1/98)
-
-
-
-